package com.hl.sfzy.mapper;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.entity.Heartk;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lin
* @description 针对表【heartk(心理知识表
)】的数据库操作Mapper
* @createDate 2025-03-07 19:58:38
* @Entity com.hl.sfzy.entity.Heartk
*/
@Mapper
public interface HeartkMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Heartk record);

    Heartk selectByPrimaryKey(Long id);

    int updateByPrimaryKey(Heartk record);

    int removeBatch(List<Long> ids);

    List<Heartk> find(int pageNum, int pageSize);
    List<Heartk> findByPage(@Param("pageNum") int pageNum,
                            @Param("pageSize") int pageSize,
                            @Param("heartk") Heartk heartk);
}
